package com.mrdeer.uaa.integration;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.springframework.security.oauth2.common.exceptions.OAuth2Exception;

/**
 * @author ：xie jianchu
 * @date ：Created in 2020/9/4 0004 17:01
 */
@JsonSerialize(using = RestOAuthExceptionJacksonSerializer.class)
public class RestOAuth2Exception extends OAuth2Exception {

    public RestOAuth2Exception(String msg, Throwable t) {
        super(msg, t);
    }

    public RestOAuth2Exception(String msg) {
        super(msg);
    }
}
